﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;
using System.Web.Profile;

using Webs.Controllers;

namespace Webs.Models
{
    public class TransactionModel
    {        
        public Int64 TransactionID { get; set; }

        [Required]
        public Int64 TransactionDate { get; set; }

        [Required]
        public string BillOfLoadingNo { get; set; }

        [Required]
        public string CooperaterID { get; set; }

        [Required]
        public double ExchangeRate { get; set; }
    }

    public class TransactionDetailModel
    {
        public Int64 TransactionID { get; set; }
        public Int64 TransactionDetailID { get; set; }

        [Required]
        public int ItemCode { get; set; }

        [Required]
        public double Amount { get; set; }
    }
}